//
//  HttpHomeManager.h
//  Cat
//
//  Created by lushitong on 2018/12/19.
//  Copyright © 2018年 lushitong. All rights reserved.
//

#import "HttpBaseManager.h"
#import "HomePriorityInfo.h"
#import "SearchInfo.h"
#import "SearchResultInfo.h"
#import "ProductInfo.h"
#import "CouponInfo.h"
#import "ShareCouponInfo.h"


@interface HttpHomeManager : HttpBaseManager

+ (void)getHomeInfoWithSuccess:(void (^)(HomePriorityInfo *priortyModel))success failure:(FLFailure)failure;

+ (void)getSearchWithSuccess:(void (^)(SearchInfo *searchModel))success failure:(FLFailure)failure;

+ (void)searchWithKeyWord:(NSString *)keyWord andIndex:(NSNumber *)index withSuccess:(void (^)(NSArray *itemArray))success failure:(FLFailure)failure;

+ (void)getProductId:(NSNumber *)productID withSuccess:(void (^)(ProductInfo *ProductModel))success failure:(FLFailure)failure;

+ (void)getShareCouponWithProductId:(NSNumber *)productID withSuccess:(void (^)(CouponInfo *couponModel))success failure:(FLFailure)failure;

+ (void)getShareInfoWithProductId:(NSNumber *)productID withSuccess:(void (^)(ShareCouponInfo *shareCouponModel))success failure:(FLFailure)failure;

///index/groom/list?index=&size=

+ (void)getIndexWithIndex:(NSNumber *)index success:(void (^)(NSArray *groomList))success failure:(FLFailure)failure;

+ (void)authGetinfoSuccess:(void (^)(NSString *authString))success failure:(FLFailure)failure;

@end
